package com.github.zyf.ioaj.exception;

/**
 * <h1>输入异常</h1>
 * <p>当算法输入量有误时，会抛出该异常</p>
 *
 * @author zyf
 */
public class InputException extends RuntimeException {

    private final String message;

    public InputException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
